import { Component, OnInit, ViewEncapsulation } from '@angular/core';

@Component({
  selector: 'app-demo12',
  templateUrl: './demo12.component.html',
  styles: [``],
  encapsulation: ViewEncapsulation.None
})
export class Demo12Component implements OnInit {
  date: Date = new Date();
  yearDate: Date = new Date();
  monthDate: Date = new Date();
  simpleModeDate: null;
  rangeDate = [new Date('2020-06-10'), new Date('2020-12-20')];

  constructor() {}

  ngOnInit() {}
}
